package com.yx.pc.api.service.impl;

import com.yx.modules.api.dao.TbInterviewCommentDao;
import com.yx.modules.api.entity.TbInterviewComment;
import com.yx.pc.api.service.PcTbInterviewCommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;





@Service
public class PcTbInterviewCommentServiceImpl implements PcTbInterviewCommentService {
	@Autowired
	private TbInterviewCommentDao interviewCommentDao;
	
	@Override
	public TbInterviewComment queryObject(Integer id){
		return interviewCommentDao.queryObject(id);
	}
	
	@Override
	public List<TbInterviewComment> queryList(Map<String, Object> map){
		return interviewCommentDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return interviewCommentDao.queryTotal(map);
	}
	
	@Override
	public void save(TbInterviewComment interviewComment){
		interviewCommentDao.save(interviewComment);
	}
	
	@Override
	public void update(TbInterviewComment interviewComment){
		interviewCommentDao.update(interviewComment);
	}
	
	@Override
	public void delete(Integer id){
		interviewCommentDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		interviewCommentDao.deleteBatch(ids);
	}

	@Override
	public List<TbInterviewComment> findByReplyFristId(Integer id) {
		return interviewCommentDao.findByReplyFristId(id);
	}

}
